package com.yan.design.two.establish.s2.f3;


/**
 * 3. 抽象工厂
 *      B工厂
 * @author shengren.yan
 * @create 2022-07-17
 */
public class BFactory implements AbstractFactory{

    @Override
    public PhoneProduct phoneProduct() {
        return new BPhone();
    }

    @Override
    public RouterProduct pouterProduct() {
        return new BRouter();
    }

}


